import { INotifyPageForm } from '@/model/form/notify/INotifyPageForm'
import IPageVO from '@/model/vo/common/IPageVO'
import IResVO from '@/model/vo/common/IResVO'
import INotifyVO from '@/model/vo/notify/INotifyVO'
import $http from '@/util/http'
import { AxiosResponse } from 'axios'

// 分页排序查询：当前用户，通知
export default function notifyUserPageApi(form: INotifyPageForm) {
  return $http.post<
    IResVO,
    AxiosResponse<IResVO<IPageVO<INotifyVO>>>,
    INotifyPageForm
  >('/notify/userPage', form)
}
